@extends("layout.main")
@section("content")
    <div class="col-sm-8 blog-main">
                <div class="blog-post">
                    <div style="display:inline-flex">
                        <h2 class="blog-post-title">22222</h2>
                            <a style="margin: auto"  href="/posts/edit">
                                <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
                            </a>

                    </div>

                    <p class="blog-post-meta">哈哈哈哈哈哈哈 by <a href="#"></a></p>

                    <p>1111</p>
                    <div>

                            <a href="/posts//zan" type="button" class="btn btn-primary btn-lg">赞</a>


                    </div>
                </div>

                <div class="panel panel-default">
                    <!-- Default panel contents -->
                    <div class="panel-heading">评论</div>

                    <!-- List group -->
                    <ul class="list-group">
                            <li class="list-group-item">
                                <h5>11 by 22</h5>
                                <div>
                                    唉唉
                                </div>
                            </li>
                    </ul>
                </div>

                <div class="panel panel-default">
                    <!-- Default panel contents -->
                    <div class="panel-heading">发表评论</div>

                    <!-- List group -->
                    <ul class="list-group">
                        <form action="/posts/comment" method="post">
                            <input type="hidden" name="post_id" value=""/>
                            <li class="list-group-item">
                                <textarea name="content" class="form-control" rows="10"></textarea>
                                <button class="btn btn-default" type="submit">提交</button>
                            </li>
                        </form>

                    </ul>
                </div>

            </div><!-- /.blog-main -->
@endsection